package com.drinks.yiniang.entity.user.achievement;

import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * 成就 json
 * @author han
 * @date 2019/11/15
 */
public class AchievementJson extends BaseJson {

    private AchievementData data;

    public AchievementData getData() {
        return data;
    }

    public void setData(AchievementData data) {
        this.data = data;
    }

    public static class AchievementData {
        private String avatar;
        private String username;
        private String level;
        private List<AchievementList> list;

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public List<AchievementList> getList() {
            return list;
        }

        public void setList(List<AchievementList> list) {
            this.list = list;
        }
    }

    public static class AchievementList {
        private String id;
        private String achievement_id;
        private String title;
        private String icon;
        //状态 0发放中 1正常
        private String status;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAchievement_id() {
            return achievement_id;
        }

        public void setAchievement_id(String achievement_id) {
            this.achievement_id = achievement_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }
}
